package com.c.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author wangxiangli
 * @create 2022-12-28-20:40
 */
@Data
@TableName("t_checkgroup")
@Accessors(chain = true)
public class CheckGroup implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;//主键
    @TableField("code")
    private String code;//编码
    @TableField("name")
    private String name;//名称
    @TableField("helpCode")
    private String helpCode;//助记
    @TableField("sex")
    private String sex;//适用性别
    @TableField("remark")
    private String remark;//介绍
    @TableField("attention")
    private String attention;//注意事项
    @TableField(exist = false)
    private List<CheckItem> checkItems;//一个检查组合包含多个检查项

}